Skip to content

Setup and execute in development using docker-compose#655

Merged
Tonkpils merged 4 commits intomasterfrom
tonkpils/setup-patch
Aug 22, 2023
Merged

Setup and execute in development using docker-compose#655
Tonkpils merged 4 commits intomasterfrom
tonkpils/setup-patch

Conversation

@Tonkpils
Copy link
Copy Markdown
Collaborator

@Tonkpils Tonkpils commented Aug 19, 2023

This change will allow us to run the application using

docker compose --profile dev up

and doesn't require us to install anything in our host machine.

Caveat

Since I didn't want to modify the existing docker-compose flow. I used the dev profile to ensure we're opting in to the new development flow.

This means for tearing down the containers after use you have to remember to use docker compose --profile dev down rather than just docker compose down.

Another option would be to add the --profile databases to the DB dependencies and allow docker compose up to spin up a entire dev environment by default.

I'm also not sure why but the frontend service takes quite a bit to spin up ember and serve traffic, not sure if this is also the case for the local machine installation.

@Tonkpils Tonkpils changed the title Tonkpils/setup patch Setup and execute in development using docker-compose Aug 19, 2023
@Tonkpils Tonkpils merged commit 68fad69 into master Aug 22, 2023
@Tonkpils Tonkpils deleted the tonkpils/setup-patch branch August 22, 2023 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants